import App from './App'
// 挂载工具包
import { util } from './common/util.js';
import qnUpload from './common/qiniuUploader.js';
import Vue from 'vue'
//import './uni.promisify.adaptor'
Vue.config.productionTip = false
Vue.prototype.request = util.request;
Vue.prototype.qnUpload = qnUpload;
Vue.prototype.util = util;
Vue.prototype.alert = util.alert;
Vue.prototype.$onLaunched = new Promise(resolve => {
    Vue.prototype.$isResolve = resolve
})
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
